<!doctype HTML public "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- Click to Convert 5.2: Anything to HTML -->
<!-- http://www.clicktoconvert.com -->

<html>
<head>
<title>gravityboxscheduleuserguide - page 55 of 234</title>
<meta http-equiv=content-type content=text/html;charset=iso-8859-1>
<meta name="Generator" content="Click to Convert">

<!--Start of page styles-->
<STYLE TYPE="text/css">
<!--
 /* Foreground Image Styles */

 /* Position Styles */
 .ts55p0{position:absolute;left:106px;top:97px;}
 .ts55p1{position:absolute;left:352px;top:97px;}
 .ts55p3{position:absolute;left:672px;top:97px;}
 .ts55p7{position:absolute;left:106px;top:113px;}
 .ts55p8{position:absolute;left:706px;top:1026px;}
 .ts55p9{position:absolute;left:331px;top:1044px;}
 .ts55p13{position:absolute;left:106px;top:146px;}
 .ts55p15{position:absolute;left:106px;top:183px;}
 .ts55p16{position:absolute;left:106px;top:201px;}
 .ts55p17{position:absolute;left:106px;top:220px;}
 .ts55p19{position:absolute;left:106px;top:238px;}
 .ts55p20{position:absolute;left:106px;top:257px;}
 .ts55p22{position:absolute;left:106px;top:276px;}
 .ts55p24{position:absolute;left:106px;top:294px;}
 .ts55p26{position:absolute;left:106px;top:312px;}
 .ts55p28{position:absolute;left:106px;top:330px;}
 .ts55p30{position:absolute;left:106px;top:348px;}
 .ts55p32{position:absolute;left:106px;top:366px;}
 .ts55p33{position:absolute;left:106px;top:385px;}
 .ts55p36{position:absolute;left:106px;top:405px;}
 .ts55p38{position:absolute;left:106px;top:423px;}
 .ts55p39{position:absolute;left:106px;top:441px;}
 .ts55p41{position:absolute;left:106px;top:478px;}
 .ts55p43{position:absolute;left:106px;top:497px;}
 .ts55p45{position:absolute;left:106px;top:515px;}
 .ts55p46{position:absolute;left:106px;top:534px;}
 .ts55p48{position:absolute;left:106px;top:553px;}
 .ts55p50{position:absolute;left:106px;top:571px;}
 .ts55p52{position:absolute;left:106px;top:589px;}
 .ts55p54{position:absolute;left:106px;top:607px;}
 .ts55p56{position:absolute;left:106px;top:625px;}
 .ts55p57{position:absolute;left:106px;top:644px;}
 .ts55p58{position:absolute;left:106px;top:662px;}
 .ts55p60{position:absolute;left:106px;top:681px;}
 .ts55p62{position:absolute;left:106px;top:699px;}
 .ts55p63{position:absolute;left:106px;top:717px;}
 .ts55p65{position:absolute;left:106px;top:754px;}
 .ts55p66{position:absolute;left:154px;top:754px;}
 .ts55p67{position:absolute;left:106px;top:773px;}
 .ts55p69{position:absolute;left:106px;top:791px;}
 .ts55p70{position:absolute;left:106px;top:809px;}
 .ts55p76{position:absolute;left:106px;top:828px;}
 .ts55p77{position:absolute;left:106px;top:847px;}
 .ts55p79{position:absolute;left:106px;top:865px;}
 .ts55p81{position:absolute;left:106px;top:883px;}
 .ts55p83{position:absolute;left:106px;top:902px;}
 .ts55p85{position:absolute;left:106px;top:920px;}
 .ts55p87{position:absolute;left:106px;top:938px;}
 .ts55p89{position:absolute;left:106px;top:956px;}

 /* Font Styles */
 .ft0p55{font-style:normal;font-weight:bold;font-size:13px;font-family:arial,sans-serif;color:#000000;}
 .ft1p55{font-weight:normal;}
 .ft2p55{font-style:normal;font-weight:normal;font-size:13px;font-family:"times new roman","times new roman",times,serif;color:#000000;}
 .ft3p55{font-style:normal;font-weight:normal;font-size:16px;font-family:"times new roman","times new roman",times,serif;color:#000000;}
 .ft4p55{font-style:normal;font-weight:bold;font-size:11px;font-family:arial,sans-serif;color:#000000;}
 .ft5p55{font-style:normal;font-weight:bold;font-size:21px;font-family:arial,sans-serif;color:#808080;}
 .ft6p55{font-style:normal;font-weight:normal;font-size:16px;font-family:arial,sans-serif;color:#000000;}
 .ft7p55{font-style:normal;font-weight:normal;font-size:16px;font-family:"courier new",courier,monospace;color:#000000;}

 /* Background Style */
 .styleBackground55{position:absolute;left:97px;top:255px}

 /* Navigation Styles */
 .styleNavBarTop{position:absolute;left:0px;top:2px}
 .nb{position:absolute;left:2px;top:0px}
 .nbs{position:absolute;left:0px;top:0px}
 .nbe{position:absolute;left:836px;top:0px}
 .styleNavBarBot{position:absolute;left:0px;top:1117px}
-->
</STYLE>
<!--End of page styles-->

</head>
<body bgcolor="#ffffff" text="#000000" link="#0000FF" Vlink="#660099">

<table id="pageTable" width="836" STYLE="position: relative; left: auto; top: auto;"><tr><td>
<div class=nbs><img src="./navbarstart.gif" width="2" height="30"></div>
<div class=nb><img src="./navbar.gif" width="836" height="30" alt="Navigation bar"></div>
<div class=nbe><img src="./navbarend.gif" width="2" height="30"></div>
<div class=styleNavBarTop>
<table width="834" height="26" border="0" cellspacing="0">
  <tr align="left">
    <td width="4">&nbsp;</td>
    <td width="25" align="center"><a href="http://www.gravitybox.com" target="_parent"><img src="./home.gif" border="0" alt="Home"></a></td>
    <td width="25" align="center"><a href="#" onClick="window.open('./print.html','Printing','width=300,height=100,toolbar=no,directories=no');return false;"><img src="./print.gif" border="0" alt="Print document"></a></td>
    <td width="10" align="center"><img src="./separator.gif" border="0"></td>
    <td width="18" align="center"><a href="./index1.html"><img src="./start.gif" width="18" height="14" border="0" alt="Start"></a></td>
    <td width="18" align="center"><a href="./index54.html"><img src="./back.gif" width="14" height="14" border="0" alt="Previous page"></a></td>
    <td width="80" valign="middle"><table width="100%" height="16" border="0" cellspacing="1" bgcolor="#ACA899"><tr><td align="center" bgcolor="#ffffff"><font face=verdana,arial,sans-serif><font size="1">&nbsp;55 of 234&nbsp;</font></font></td></tr></table></td>
    <td width="18" align="center"><a href="./index56.html"><img src="./forward.gif" width="14" height="14" border="0" alt="Next page"></a></td>
    <td width="18" align="center"><a href="./index234.html"><img src="./end.gif" width="18" height="14" border="0" alt="End"></a></td>
    <td width="620">&nbsp;</td>
  </tr>
</table>
<p>
</div>
<nobr>
<div class=styleBackground55><img src="./background55.png" width="633" height="800" border="0" alt=""></div>
<div class=ts55p0><span class="ft0p55"> </span></div>
<div class=ts55p1><span class="ft0p55">Gravitybox Schedule Primer<span class="ft1p55"> </span></span></div>
<div class=ts55p3><span class="ft0p55">Page 53&nbsp; </span></div>
<div class=ts55p7><span class="ft2p55"> </span></div>
<div class=ts55p8><span class="ft3p55"> </span></div>
<div class=ts55p9><span class="ft4p55">1998&#45;2004 Gravitybox Software LLC<span class="ft3p55"> </span></span></div>
<div class=ts55p13><span class="ft5p55">Rooms </span></div>
<div class=ts55p15><span class="ft6p55">If there are objects in the collections, they will be saved inside their respective object </span></div>
<div class=ts55p16><span class="ft6p55">tags. The Rooms collection with one Room object named &#148;Room1&#148; would be saved as </span></div>
<div class=ts55p17><span class="ft6p55">follows. </span></div>
<div class=ts55p19><span class="ft6p55"> </span></div>
<div class=ts55p20><span class="ft7p55">&#60;ScheduleRooms&#62; </span></div>
<div class=ts55p22><span class="ft7p55">&nbsp; &#60;Room&#62; </span></div>
<div class=ts55p24><span class="ft7p55">&nbsp;&nbsp;&nbsp; &#60;Name&#62;Room1&#60;/Name&#62; </span></div>
<div class=ts55p26><span class="ft7p55">&nbsp;&nbsp;&nbsp; &#60;Id&#62;0&#60;/Id&#62; </span></div>
<div class=ts55p28><span class="ft7p55">&nbsp; &#60;/Room&#62; </span></div>
<div class=ts55p30><span class="ft7p55">&#60;/ScheduleRooms&#62;<span class="ft6p55"> </span></span></div>
<div class=ts55p32><span class="ft6p55"> </span></div>
<div class=ts55p33><span class="ft6p55">If more rooms were present, there would be more &#148;<span class="ft7p55">&#60;Room&#62;&#60;/Room&#62;</span>&#148; tags pairs </span></div>
<div class=ts55p36><span class="ft6p55">defined. </span></div>
<div class=ts55p38><span class="ft6p55"> </span></div>
<div class=ts55p39><span class="ft5p55">Categories </span></div>
<div class=ts55p41><span class="ft6p55">Categories are defined in much the same way. A Category object has more properties </span></div>
<div class=ts55p43><span class="ft6p55">than a Room object. This is solved by adding more tags. </span></div>
<div class=ts55p45><span class="ft6p55"> </span></div>
<div class=ts55p46><span class="ft7p55">&#60;Category&#62; </span></div>
<div class=ts55p48><span class="ft7p55">&nbsp; &#60;Name&#62;Category1&#60;/Name&#62; </span></div>
<div class=ts55p50><span class="ft7p55">&nbsp; &#60;Id&#62;0&#60;/Id&#62; </span></div>
<div class=ts55p52><span class="ft7p55">&nbsp; &#60;Color&#62;16711680&#60;/Color&#62; </span></div>
<div class=ts55p54><span class="ft7p55">&#60;/Category&#62;<span class="ft6p55"> </span></span></div>
<div class=ts55p56><span class="ft6p55"> </span></div>
<div class=ts55p57><span class="ft6p55">As was seen earlier, with the ScheduleItems object, a Category object defines each of </span></div>
<div class=ts55p58><span class="ft6p55">its properties with a tag and wraps the property&#146;s data in the tag. This example shows </span></div>
<div class=ts55p60><span class="ft6p55">that a Category object has three properties: Name, Id, and Color. </span></div>
<div class=ts55p62><span class="ft6p55"> </span></div>
<div class=ts55p63><span class="ft5p55">Providers </span></div>
<div class=ts55p65><span class="ft6p55"> </span></div>
<div class=ts55p66><span class="ft6p55">The Providers collection defines the people that work with a schedule. Each has </span></div>
<div class=ts55p67><span class="ft6p55">multiple properties that need saving. The properties that are present on the Provider </span></div>
<div class=ts55p69><span class="ft6p55">object are the same tags that are defined in the file. This makes it obvious that there is a </span></div>
<div class=ts55p70><span class="ft6p55">one&#45;to&#45;one map of object properties to file tags. </span></div>
<div class=ts55p76><span class="ft6p55"> </span></div>
<div class=ts55p77><span class="ft7p55">&#60;Provider&#62; </span></div>
<div class=ts55p79><span class="ft7p55">&nbsp; &#60;Name&#62;John&#60;/Name&#62; </span></div>
<div class=ts55p81><span class="ft7p55">&nbsp; &#60;Id&#62;0&#60;/Id&#62; </span></div>
<div class=ts55p83><span class="ft7p55">&nbsp; &#60;Color&#62;16711680&#60;/Color&#62; </span></div>
<div class=ts55p85><span class="ft7p55">&nbsp; &#60;ScheduleTimes/&#62; </span></div>
<div class=ts55p87><span class="ft7p55">&#60;/Provider&#62;<span class="ft6p55"> </span></span></div>
<div class=ts55p89><span class="ft6p55"> </span></div>
<div class=styleNavBarBot>
<table width="836" border="0" cellspacing="2">
  <tr></tr>
  <tr>
    <td width="118"><a href="http://www.purepage.com"><img src="./smalllogo.gif" width="118" height="46" border="0" alt="http://www.purepage.com"></a></td>
    <td></td>
  </tr>
</table>
</div>

</td></tr></table>

</body>
</html>
